package com.qf.fallback;

import com.qf.entity.User;
import com.qf.feign.Feign;
import org.springframework.stereotype.Component;

/**
 * @author Ypl
 * @version V1.0
 * @Project OctoberAndNovember
 * @Package com.qf.fallback
 * @Description:
 * @Date 2022/11/3 10:54
 */
@Component
//@RequestMapping("/fallback")
public class GoodsFallBack implements Feign {
    @Override
    public String queryGoods() {
        return null;
    }

    @Override
    public String queryGoods2(int id, String name) {
        return null;
    }

    @Override
    public String queryGoods3(Integer id) {
        return null;
    }

    @Override
    public String queryGoods4(User user) {
        return "服务降级";
    }
}
